package 操作系统实验.实验二;/**
 * ************************************************************************
 * 项目名称: projectweb <br>
 * 文件名称:  <br>
 * 文件描述: 这里添加您的类文件描述，说明当前文件要包含的功能。 <br>
 * 文件创建：1913040634刘世锦  <br>
 * 创建时间: 2021/4/8 <br>
 *
 * @version v1.0 <br>
 * @update [序号][日期YYYY-MM-DD][更改人姓名][变更描述]<br>
 * ************************************************************************
 */

/**
 * @ProjectName: projectweb
 * @ClassName: ProgressData
 * @Description: 请描述该类的功能
 * @Author: 1913040634刘世锦
 * @Date: 2021/4/8 16:54 .
 * @version v1.0
 */



public class ProgressData {
public int arrived;   //到达时间
public int server;    //服务时间
public int finished[] = new int[3];  //完成时间
public int working[] = new int[3];   //周转时间
public float powerWorking[] = new float[3];  //带权周转时间


public ProgressData() {

};


public ProgressData(int arr, int ser) {
        arrived = arr;
        server = ser;
}


public String toString() {
        return " "+new Integer(arrived).toString()
        + "\t\t"+ new Integer(server).toString()
        + "\t\t"+ new Integer(finished[0]).toString()
        + "\t\t"+ new Integer(working[0]).toString()
        + "\t\t\t"+ new Float(powerWorking[0]).toString()
        + "\t\t"+ new Integer(finished[1]).toString()
        + "\t\t"+ new Integer(working[1]).toString()
        + "\t\t\t"+ new Float(powerWorking[1]).toString()
        + "\t\t"+ new Integer(finished[2]).toString()
        + "\t\t"+ new Integer(working[2]).toString()
        + "\t\t\t"+ new Float(powerWorking[2]).toString();
}


}
